
<!DOCTYPE html>
<html>
  <head>
    <link type="image/x-icon" href="../imagenes/pe.icon" rel="shortcut icon" /> 
   <link type="image/x-icon" href="../../imagenes/pe.icon" rel="icon" />
<title>Formularios | BETRANS</title> 
<link href="css/ceGrid.css" rel="stylesheet" type="text/css">
<link href="css/main.css" rel="stylesheet" type="text/css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <script type="text/javascript" src="js/bootstrap-tab.js"></script>
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
    <script src="js/jPages.js"></script>
    <style type="text/css">
    #bod{
      background-color:#7FAECC
    }
    </style>
    <script type="text/javascript">
    $(document).ready(function() {
    $("div.holder").jPages({
        containerID : "cursos",
        perPage: 5
      });
    });
    </script>
  </head>
  <body id="bod">
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
        
          <!--
          Se usa la de abajo para meter todo los forms.
          !-->
          <br><br><br>
          <div id="content-mt">
          
              
              <center>
                <h3><p class="text-info">Personas Grupo Familiar.</p></h3>
                <br><br>
              </center>
               
            <center>  
              <div class="input-group">
                <div class="holder"></div>
   
              <?php 
              include('../GestionPermisos/conn.php');
             $idest = $_REQUEST['cedest'];

              

              echo '<table border=1 class="table table-striped" id="cursos">'; 
              echo "<tr>"; 
              echo "<td><b>Cedula</b></td>"; 
              echo "<td><b>Nombre</b></td>"; 
              echo "<td><b>Apellido</b></td>"; 
              echo "<td><b>Apellido2</b></td>"; 
              echo "<td><b>Parentesco</b></td>";
              echo "<td><b>Estudiante</b></td>"; 
              echo "<td><b>Acciones</b></td>"; 
           //   echo "<tbody id='cursos'>"; 
              
              echo "</tr>";   
              //Objetos
              //$usuario->Us_Buscar();
              $conexion = new Conexion();
              $consulta = $conexion->Consulta("
                SELECT BT06IDEN,BT06NOPE,BT06APE1,BT06APE2,BT06PARE,BT06IDES
                FROM bt06grufam
                WHERE BT06IDES = $idest;
                            
              ");

              if($conexion->numero_filas($consulta) > 0)
              { 
                while ($Busca_C = $conexion->Arreglo($consulta))
                {
                  
                  echo "<tr id='cursos'>"; 
                  echo "<td valign='top'>" .( $Busca_C['BT06IDEN']) . "</td>"; 
                  echo "<td valign='top'>" .( $Busca_C['BT06NOPE']) . "</td>";
                  echo "<td valign='top'>" .( $Busca_C['BT06APE1']) . "</td>";
                  echo "<td valign='top'>" .( $Busca_C['BT06APE2']) . "</td>";
                  echo "<td valign='top'>" .( $Busca_C['BT06PARE']) . "</td>";
                  echo "<td valign='top'>" .( $Busca_C['BT06IDES']) . "</td>";
                  echo "<td valign='top'><a href=FormularioPag2Back.php?cedGF=$Busca_C[BT06IDEN]><span class='glyphicon glyphicon-edit'> </a>
                  <a href=View_C_Eliminar.php?cedula={$Busca_C['BT06IDEN']}> <span aling=right class='glyphicon glyphicon-remove-sign'> </a></td> "; 
                  echo "</tr>"; 
                  //echo "</tbody>";
                }
              }
       
                  echo "</table>";
                  echo "<a href=FormularioPag3Back.php?cedest=$idest>PagSiguiente</a>";
                  
              ?>

              </tr>
              </table>
        <!--       <a href=FormularioPag3Back.php?cedest=<php? echo $idest ?>PagSigt</a>
              
              <button type='button' onClick="location.href = FormularioPag3Back.php?cedest=<php? echo $idest ?>'" >PagSiguiente</button>
   -->

            </div>

              </center>
         
          </div> 
             
  
  </body>
</html>